package com.xu.sso.server.service;

import com.xu.sso.core.exception.SSOException;
import com.xu.sso.server.model.request.OpenApiRequest;
import com.xu.sso.server.model.response.OpenApiResponse;

public interface ApiService {

    OpenApiResponse allUsers(OpenApiRequest request) throws SSOException;

    OpenApiResponse usersIn(OpenApiRequest request) throws SSOException;

    OpenApiResponse userByName(OpenApiRequest request) throws SSOException;

    OpenApiResponse userByLikeName(OpenApiRequest request) throws SSOException;

    OpenApiResponse userRoles(OpenApiRequest request) throws SSOException;

    String findAppKey(String appId) throws SSOException;

}
